package iBuyCoolSky.service.call.model;


import java.util.Date;

public class Good {
	public long Id;
	
	public double Price;
	
	public String Name;
	
	public String Type;
	
	public String Producer;
	public long StoreAmount;
	
	public Date DeliveryTime;
	public Good() {
		
	}
	public Good(long Id, double Price, String Name, String Type, String Producer, long StoreAmount, 
			Date DeliveryTime) {
		this.Id = Id;
		this.Price = Price;
		this.Name = Name;
		this.Type = Type;
		this.Producer = Producer;
		this.StoreAmount = StoreAmount;
		this.DeliveryTime = DeliveryTime;
	}
	
	public long getId() {
		return Id;
	}
	
	public void setId(long Id) {
		this.Id = Id;
	}
	
	public double getPrice() {
		return Price;
	}
	
	public void setPrice(double Price) {
		this.Price = Price;
	}
	
	public String getName() {
		return Name;
	}
	
	public void setName(String Name) {
		this.Name = Name;
	}
	
	public String getType() {
		return Type;
	}
	
	public void setType(String Type) {
		this.Type = Type;
	}
	
	public String getProducer() {
		return Producer;
	}
	
	public void setProducer(String Producer) {
		this.Producer = Producer;
	}
	
	public long getStoreAmount() {
		return StoreAmount;
	}
	
	public void setStoreAmount(long StoreAmount) {
		this.StoreAmount = StoreAmount;
	}
	
	public Date getDeliveryTime() {
		return DeliveryTime;
	}
	
	public void setDeliveryTime(Date DeliveryTime) {
		this.DeliveryTime = DeliveryTime;
	}
	
	public String toString() {
		return Id + " " + Price + " " + Name + " " + Type + " " + Producer + " "
		+ StoreAmount + " " + DeliveryTime;
	}
	
}
